import { createStore } from 'vuex'

export default createStore({
  state: {
    menuVisible:false
  },
  getters: {
  },
  mutations: {
    changeMenuVisible(state,payload){
      typeof payload == 'undefined' ? state.menuVisible = !state.menuVisible : state.menuVisible = payload
      
    }
  },
  actions: {
  },
  modules: {
  }
})
